-------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/rlsigman/Dropbox/Upload/replication_main.smcl
  log type:  smcl
 opened on:   4 Sep 2017, 13:04:09

. use "egal_data.dta"
(V-Dem Country-Year Dataset + Others v6.2)

. 
. *generate standardized measures (0-1) scale
. 
. *gen e_fh_status_st = (e_fh_status-1)/(3-1)
. gen e_fh_cl_st = (e_fh_cl-1)/(7-1)
(10,398 missing values generated)

. gen e_polity2_st = (e_polity2 +10)/(10+10)
(5,449 missing values generated)

. gen v2clacjust_st = (v2clacjust + 3.019201)/(3.471141+3.019201)
(494 missing values generated)

. gen v2clacjust_lowst = (v2clacjust_codelow + 3.892406) / (2.766015+3.892406)
(494 missing values generated)

. gen v2clacjust_highst = (v2clacjust_codehigh + 2.280959) / (4.064263 + 2.2809
> 59)
(494 missing values generated)

. gen v2clsocgrp_st = (v2clsocgrp + 3.147822)/( 3.331509 + 3.147822)
(55 missing values generated)

. gen v2clsocgrp_lowst = (v2clsocgrp_codelow + 4.006242)/(2.634023+4.006242)
(55 missing values generated)

. gen v2clsocgrp_highst = (v2clsocgrp_codehigh + 2.499701)/(3.970373 +2.499701)
(55 missing values generated)

. gen v2peedueq_st = (v2peedueq + 3.142996)/(3.650894 + 3.142996)
(55 missing values generated)

. gen v2peedueq_lowst = (v2peedueq_codelow + 3.800937)/ (2.844435 + 3.800937)
(55 missing values generated)

. gen v2peedueq_highst = (v2peedueq_codehigh +2.413359)/ (4.348349 + 2.413359)
(55 missing values generated)

. gen v2pehealth_st = (v2pehealth + 3.142996)/ (3.650894 +3.142996)
(55 missing values generated)

. gen v2pehealth_lowst = (v2pehealth_codelow + 3.920346)/(3.2853 + 3.920346)
(55 missing values generated)

. gen v2pehealth_highst = (v2pehealth_codehigh +2.51193)/(4.348802 + 2.51193)
(55 missing values generated)

. gen v2pepwrsoc_st = (v2pepwrsoc + 3.006994)/(3.31124 + 3.006994)
(55 missing values generated)

. gen v2pepwrsoc_highst = (v2pepwrsoc_codehigh + 2.319493)/(3.938705+2.319493)
(55 missing values generated)

. gen v2pepwrsoc_lowst = (v2pepwrsoc_codelow + 3.738616)/(2.428379 + 3.738616)
(55 missing values generated)

. gen v2pepwrgen_st = (v2pepwrgen + 2.981764)/(4.196704 +2.981764)
(55 missing values generated)

. gen v2pepwrgen_highst = (v2pepwrgen_codehigh + 2.242911)/(4.885439+ 2.242911)
(55 missing values generated)

. gen v2pepwrgen_lowst = (v2pepwrgen_codelow + 3.788944)/ (3.47517 + 3.788944)
(55 missing values generated)

. 
. *reverse freedom house 
. gen e_fh_cl_st_rev = 1-e_fh_cl_st
(10,398 missing values generated)

. 
. 
. collapse e_fh_cl_st e_fh_cl_st_rev e_polity2_st v2x_polyarchy v2clacjust_st v
> 2clacjust_lowst v2clacjust_highst v2clsocgrp_st v2clsocgrp_highst ///
> v2clsocgrp_lowst v2peedueq_st v2peedueq_lowst v2peedueq_highst v2pehealth_st 
> v2pehealth_highst v2pehealth_lowst v2pepwrsoc_st v2pepwrsoc_highst v2pepwrsoc
> _lowst v2pepwrgen_st ///
> v2pepwrgen_highst v2pepwrgen_lowst, by(year)

. 
. label var v2clacjust_st "Civil Liberties Across Socio-Economic Class (V-Dem)"

. label var v2clsocgrp_st "Civil Liberties Across Social Groups (V-Dem)"

. label var e_fh_cl_st_rev "Freedom House Civil Liberties (reverse scale)"

.  label var v2pepwrgen_st "Power Distributed by Gender (V-Dem)"

.  label var v2pepwrsoc_st "Power Distributed by Social Group (V-Dem)"

.  label var e_polity2_st "Polity2"

. 
. *Figure 1: Freedom House, Civil Liberties equality
. twoway rarea v2clacjust_highst v2clacjust_lowst year if year>1970 & year<2013
> , color(gs7) || ///
>  rarea v2clsocgrp_highst v2clsocgrp_lowst year if year>1970 & year<2013, colo
> r(gs11)|| ///
>  line v2clsocgrp_st year if year>1970 & year<2013, lcolor(black) lwidth(mediu
> m) lpattern(longdash) || ///
>  line v2clacjust_st year if year>1970 & year<2013, lcolor(black) lwidth(thick
> ) lpattern(dot)  || ///
>  line e_fh_cl_st_rev year if year>1970 & year<2012, lcolor(black) lwidth(medi
> um) legend(order(3 4 5)) ysc(r(.2 .8)) graphregion(fcolor(white))

.  graph save Graph "Figure1.gph", replace
(file Figure1.gph saved)

.  
. 
.  ****>Additional formatting in Graph Editor
.  
. *Figure 2: Polity, Power distribution by social group/gender
. twoway rarea v2pepwrsoc_highst v2pepwrsoc_lowst year if year>1945 & year<2013
> , color(gs7)|| ///
>  rarea v2pepwrgen_highst v2pepwrgen_lowst year if year>1945 & year<2013, colo
> r(gs11)|| ///
>  line v2pepwrsoc_st year if year>1945 & year<2013, lcolor(black) lwidth(mediu
> m) lpattern(longdash) || ///
>  line v2pepwrgen_st year if year>1945 & year<2013, lcolor(black) lwidth(thick
> ) lpattern(dot) || ///
>  line e_polity2_st year if year>1945 & year<2013, lcolor(black) lwidth(medium
> ) legend(order(3 4 5)) ysc(r(.2 .8)) graphregion(fcolor(white))

.  graph save Graph "Figure2.gph", replace
(file Figure2.gph saved)

.  
.  ****>Additional formatting in Graph Editor
. 
. 
. 
.  ***Table 1***
. 
. clear

. use "egal_data.dta"
(V-Dem Country-Year Dataset + Others v6.2)

. 
. tabstat v2clacjust v2clsocgrp v2clsnlpct v2dlencmps v2dlunivl v2peedueq v2peh
> ealth v2pepwrses v2pepwrsoc v2pepwrgen, stat(mean sd n) col(stat)

    variable |      mean        sd         N
-------------+------------------------------
  v2clacjust |   .068911   1.50394     16181
  v2clsocgrp |  .0344951  1.472311     16620
  v2clsnlpct |  42.69008  20.64179     15408
  v2dlencmps |  .0151709  1.483721     16620
   v2dlunivl | -.1738843  1.471403     16620
   v2peedueq | -.3453781  1.631322     16620
  v2pehealth | -.2358338  1.596879     16620
  v2pepwrses | -.4047361  1.447724     16620
  v2pepwrsoc | -.2068187  1.515784     16620
  v2pepwrgen | -.7928247  1.321633     16620
--------------------------------------------

. 
. ***Table 2***
. tabstat v2xeg_eqprotec v2xeg_eqdr v2xeg_eqacc v2x_egal_small v2x_polyarchy v2
> x_egaldem_small, stat(mean sd min max n) col(stat)

    variable |      mean        sd       min       max         N
-------------+--------------------------------------------------
v2xeg_eqpr~c |  .4995443  .2889793  .0205938   .990673     14969
  v2xeg_eqdr |  .4878866  .2965455  .0384339  .9910558     16620
 v2xeg_eqacc |  .4946037  .2915105  .0227439  .9965216     16620
v2x_egal_s~l |   .483112  .2663277  .0563281  .9902609     14969
v2x_polyar~y |  .3212451  .2814114  .0084127  .9584104     16259
v2x_egalde~l |   .247532  .2299682  .0166321  .9193599     14643
----------------------------------------------------------------

. 
. ***Table 3***
. **See V-Dem Methodology and Codebook at www.v-dem.net
. 
. ***Table 4***
. pwcorr v2x_egaldem_small v2x_polyarchy v2x_egal_small v2xeg_eqprotec v2xeg_eq
> dr v2xeg_eqacc, obs sig

             | ~m_small v2x_po~y ~l_small v2xeg~ec v2xeg_~r v2xeg~cc
-------------+------------------------------------------------------
v2x_egalde~l |   1.0000 
             |
             |    14643
             |
v2x_polyar~y |   0.9544   1.0000 
             |   0.0000
             |    14643    16259
             |
v2x_egal_s~l |   0.8573   0.7465   1.0000 
             |   0.0000   0.0000
             |    14643    14643    14969
             |
v2xeg_eqpr~c |   0.7756   0.6610   0.9200   1.0000 
             |   0.0000   0.0000   0.0000
             |    14643    14643    14969    14969
             |
  v2xeg_eqdr |   0.7864   0.6681   0.9275   0.7838   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    14643    16259    14969    14969    16620
             |
 v2xeg_eqacc |   0.8115   0.7384   0.9173   0.7596   0.7882   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14643    16259    14969    14969    16620    16620
             |

. 
. ***Table 5***
. 
. 
. ***Table 6***
. 
. ***Table 7***
. 
. 
. ***Figures 3, 4 and 5***
. clear

. use "egal_data.dta"
(V-Dem Country-Year Dataset + Others v6.2)

. 
. *1990-2012
. 
. drop if year< 1990 
(12,555 observations deleted)

. drop if year>2012
(302 observations deleted)

. collapse v2x_egaldem_small v2x_egal_small v2xeg_eqprotec v2xeg_eqdr v2xeg_eqa
> cc v2x_polyarchy, by(country_text_id)

. save "egal_data_collapsed.dta", replace
file egal_data_collapsed.dta saved

. 
. label var v2x_egal_small "Egalitarian Component"

. label var v2x_polyarchy "Electoral Democracy (Polyarchy)"

. label var v2xeg_eqprotec "Equal Protection"

. label var v2xeg_eqdr "Equal Distribution"

. label var v2xeg_eqacc "Equal Access"

. 
. **Figure 3**
. *Egal Component and Polyarchy
. graph twoway (scatter v2x_egal_small v2x_polyarchy, mlabel(country_text_id) m
> color(black) mlabcolor(black)) (lfit v2x_egal_small v2x_polyarchy, lcolor(bla
> ck)), graphregion(fcolor(white)) ytitle(Egalitarian Component) legend(off)

. graph save Graph "Figure3.gph", replace
(file Figure3.gph saved)

. 
. **Figure 4**
. *Equal Protection vs. Equal Distribution Scatter Plot 1990-2012
. graph twoway (scatter v2xeg_eqdr v2xeg_eqprotec, mlabel(country_text_id) mcol
> or(black) mlabcolor(black)) (lfit v2xeg_eqdr v2xeg_eqprotec, lcolor(black)), 
> graphregion(fcolor(white)) ytitle(Equal Distribution) xtitle(Equal Protection
> ) legend(off)

. graph save Graph "Figure4.gph", replace
(file Figure4.gph saved)

. 
. **Figure 5**
. *Equal Distribution vs. Equal Access Scatter Plot 1990-2012
. graph twoway (scatter v2xeg_eqacc v2xeg_eqdr, mlabel(country_text_id) mcolor(
> black) mlabcolor(black)) (lfit v2xeg_eqacc v2xeg_eqdr, lcolor(black)),  graph
> region(fcolor(white)) ytitle(Equal Access) xtitle(Equal Distribution) legend(
> off)

. graph save Graph "Figure5.gph", replace
(file Figure5.gph saved)

. 
. 
. 
. ***Figures 6 and 7***
. clear

. use "egal_data.dta"
(V-Dem Country-Year Dataset + Others v6.2)

. 
. label var v2x_egaldem_big "Egalitarian Democracy"

. label var v2x_egaldem_big_codehigh "Upper Bound"

. label var v2x_egaldem_big_codehigh "Lower Bound"

. 
. **Figure 6**
. graph twoway (rarea v2x_egaldem_big_codehigh v2x_egaldem_big_codelow year if 
> country_id == 5 & year<2013, color(gs13)) || ///
>  (rarea v2x_egaldem_big_codehigh v2x_egaldem_big_codelow year if country_id =
> = 72 & year<2013, color(gs9)) || ///
>  (rarea v2x_egaldem_big_codehigh v2x_egaldem_big_codelow year if country_id =
> = 155 & year<2013, color(gs13)) || ///
>  (rarea v2x_egaldem_big_codehigh v2x_egaldem_big_codelow year if country_id =
> = 45 & year<2013, color (gs9)) || ///
>  (line v2x_egaldem_big year if country_id == 5 & year<2013, lcolor(black) lpa
> ttern(dash_dot_dot)) || ///
>  (line v2x_egaldem_big year if country_id == 72 & year<2013, lcolor(black) lp
> attern(longdash))|| ///
>  (line v2x_egaldem_big year if country_id == 155 & year<2013, lcolor(black) l
> width(thick) lpattern(tight_dot)) || ///
>  (line v2x_egaldem_big year if country_id == 45 & year<2013, lcolor(black) lp
> attern(shortdash)), legend(order(5 "Sweden" 6 "Chile" 7 "Cuba" 8 "Nigeria") r
> egion(lstyle(none))) graphregion(fcolor(white))

.  graph save Graph "Figure6.gph", replace
(file Figure6.gph saved)

. 
. **Additional formatting in Graph Editor
. 
. **Figure 7 US Equal Protection & Equal Distribution over time**
. graph twoway (line v2xeg_eqprotec year if country_id == 20 & year < 2013, lco
> lor(black) lpattern(dash)) || ///
> (line v2xeg_eqacc year if country_id == 20 & year < 2013, lwidth(medium) lcol
> or(black)) || ///
> (line v2xeg_eqdr year if country_id == 20 & year < 2013, lcolor(black) lwidth
> (thick) lpattern(tightdot)) || ///
> , graphregion(fcolor(white)) legend(order(1 "Equal Protection" 2 "Equal Acces
> s" 3 "Equal Distribution")) xlabel(1900(20)2010) 
(note:  named style tightdot not found in class linepattern, default
    attributes used)
(note:  named style tightdot not found in class linepattern, default
    attributes used)

. graph save Graph "Figure7.gph", replace
(file Figure7.gph saved)

. 
. 
. ***Tables 8 & 9***
. 
. 
. **Table 8: Correlations with other V-Dem Indices**
. pwcorr v2xeg_eqprotec v2xeg_eqdr v2xeg_eqacc v2x_egal_small v2x_egaldem_small
>  v2x_polyarchy v2x_partip v2x_liberal v2xdl_delib v2x_corr v2x_cspart v2x_fre
> exp v2x_gender v2x_suffr, obs sig

             | v2xeg~ec v2xeg_~r v2xeg~cc ~l_small ~m_small v2x_po~y v2x_pa~p
-------------+---------------------------------------------------------------
v2xeg_eqpr~c |   1.0000 
             |
             |    14969
             |
  v2xeg_eqdr |   0.7838   1.0000 
             |   0.0000
             |    14969    16620
             |
 v2xeg_eqacc |   0.7596   0.7882   1.0000 
             |   0.0000   0.0000
             |    14969    16620    16620
             |
v2x_egal_s~l |   0.9200   0.9275   0.9173   1.0000 
             |   0.0000   0.0000   0.0000
             |    14969    14969    14969    14969
             |
v2x_egalde~l |   0.7756   0.7864   0.8115   0.8573   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    14643    14643    14643    14643    14643
             |
v2x_polyar~y |   0.6610   0.6681   0.7384   0.7465   0.9544   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14643    16259    16259    14643    14643    16259
             |
  v2x_partip |   0.6033   0.6110   0.6937   0.6922   0.8236   0.8739   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14960    16611    16611    14960    14634    16250    16660
             |
 v2x_liberal |   0.6147   0.5796   0.6044   0.6482   0.8069   0.8322   0.7691 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16259    16611
             |
 v2xdl_delib |   0.6389   0.6525   0.7167   0.7240   0.8381   0.8839   0.8489 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16511    16511    14969    14643    16151    16502
             |
    v2x_corr |  -0.3610  -0.3720  -0.3068  -0.3526  -0.4299  -0.3734  -0.2959 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14868    16519    16519    14868    14542    16158    16510
             |
  v2x_cspart |   0.6071   0.5903   0.7009   0.6846   0.8263   0.8753   0.9026 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14881    16463    16463    14881    14596    16143    16454
             |
  v2x_freexp |   0.5372   0.5113   0.6105   0.5986   0.8019   0.8894   0.8244 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14618    16265    16265    14618    14343    15955    16256
             |
  v2x_gender |   0.7209   0.7596   0.8309   0.8238   0.8410   0.7897   0.7277 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    10321    11672    11672    10321    10097    11413    11672
             |
   v2x_suffr |   0.5693   0.6131   0.6994   0.6778   0.5689   0.5879   0.5582 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14966    16617    16617    14966    14643    16259    16612
             |

             | v2x_li~l v2xdl_~b v2x_corr v2x_cs~t v2x_fr~p v2x_ge~r v2x_su~r
-------------+---------------------------------------------------------------
 v2x_liberal |   1.0000 
             |
             |    16620
             |
 v2xdl_delib |   0.8355   1.0000 
             |   0.0000
             |    16511    16511
             |
    v2x_corr |  -0.5706  -0.3383   1.0000 
             |   0.0000   0.0000
             |    16519    16410    16519
             |
  v2x_cspart |   0.8221   0.8733  -0.3253   1.0000 
             |   0.0000   0.0000   0.0000
             |    16463    16423    16362    16463
             |
  v2x_freexp |   0.8652   0.8713  -0.3384   0.8836   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    16265    16160    16164    16153    16265
             |
  v2x_gender |   0.6917   0.7445  -0.3243   0.7600   0.6817   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |    11672    11632    11672    11672    11646    11672
             |
   v2x_suffr |   0.3081   0.5414   0.0961   0.5091   0.3928   0.5781   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    16617    16508    16516    16460    16262    11670    16627
             |

. 
. **Table 9: Correlations with Other Measures***
. pwcorr v2xeg_eqprotec v2xeg_eqdr v2xeg_eqacc v2x_egal_small v2x_egaldem_small
>  e_fh_cl e_fh_pr worker_ciri e_peedgini e_peaveduc e_peinfmor nresource_tax_i
> nc_sc e_migdppc, obs sig

             | v2xeg~ec v2xeg_~r v2xeg~cc ~l_small ~m_small  e_fh_cl  e_fh_pr
-------------+---------------------------------------------------------------
v2xeg_eqpr~c |   1.0000 
             |
             |    14969
             |
  v2xeg_eqdr |   0.7838   1.0000 
             |   0.0000
             |    14969    16620
             |
 v2xeg_eqacc |   0.7596   0.7882   1.0000 
             |   0.0000   0.0000
             |    14969    16620    16620
             |
v2x_egal_s~l |   0.9200   0.9275   0.9173   1.0000 
             |   0.0000   0.0000   0.0000
             |    14969    14969    14969    14969
             |
v2x_egalde~l |   0.7756   0.7864   0.8115   0.8573   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    14643    14643    14643    14643    14643
             |
     e_fh_cl |  -0.5390  -0.4844  -0.6027  -0.6091  -0.8484   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |     5596     6277     6277     5596     5584     6277
             |
     e_fh_pr |  -0.5096  -0.4625  -0.6114  -0.5932  -0.8509   0.9279   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     5596     6277     6277     5596     5584     6277     6277
             |
 worker_ciri |   0.4215   0.3347   0.4432   0.4416   0.5498  -0.5901  -0.5859 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     3986     4459     4459     3986     3985     4307     4307
             |
  e_peedgini |  -0.4984  -0.6321  -0.5566  -0.6040  -0.6508   0.5589   0.5415 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     9766    10950    10950     9766     9590     4822     4822
             |
  e_peaveduc |   0.6098   0.7669   0.6566   0.7276   0.7506  -0.6031  -0.5688 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    11929    13294    13294    11929    11682     5953     5953
             |
  e_peinfmor |  -0.4542  -0.6423  -0.5190  -0.5769  -0.6113   0.5490   0.5428 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     9972    11221    11221     9972     9794     5984     5984
             |
nresource_~c |   0.5603   0.6989   0.5669   0.6722   0.6695  -0.6058  -0.5528 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     3620     4111     4111     3620     3618     4018     4018
             |
   e_migdppc |   0.4418   0.5740   0.4482   0.5200   0.6652  -0.6467  -0.6089 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |     9383    10444    10444     9383     9197     5116     5116
             |

             | worker~i e_peed~i e_peav~c e_pein~r nresou~c e_migd~c
-------------+------------------------------------------------------
 worker_ciri |   1.0000 
             |
             |     4459
             |
  e_peedgini |  -0.3073   1.0000 
             |   0.0000
             |     3720    10980
             |
  e_peaveduc |   0.3459  -0.8721   1.0000 
             |   0.0000   0.0000
             |     4404    10980    13329
             |
  e_peinfmor |  -0.2851   0.6631  -0.7617   1.0000 
             |   0.0000   0.0000   0.0000
             |     4454     9165    10632    11224
             |
nresource_~c |   0.4185  -0.6012   0.7058  -0.6364   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |     3679     3245     4044     4066     4111
             |
   e_migdppc |   0.4110  -0.5818   0.7635  -0.5977   0.6936   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |     3910     9038     9951     9287     3404    10445
             |

. 
. ***Table 10: Correlations of Egalitarian Index and Constituent Indicators
. pwcorr v2xeg_eqprotec v2xeg_eqdr v2xeg_eqacc v2x_egal_small v2x_egaldem_small
>  v2clacjust v2clsocgrp v2clsnlpct v2dlencmps v2dlunivl v2peedueq v2pehealth v
> 2pepwrses v2pepwrsoc v2pepwrgen, obs sig

             | v2xeg~ec v2xeg_~r v2xeg~cc ~l_small ~m_small v2clac~t v2clso~p
-------------+---------------------------------------------------------------
v2xeg_eqpr~c |   1.0000 
             |
             |    14969
             |
  v2xeg_eqdr |   0.7838   1.0000 
             |   0.0000
             |    14969    16620
             |
 v2xeg_eqacc |   0.7596   0.7882   1.0000 
             |   0.0000   0.0000
             |    14969    16620    16620
             |
v2x_egal_s~l |   0.9200   0.9275   0.9173   1.0000 
             |   0.0000   0.0000   0.0000
             |    14969    14969    14969    14969
             |
v2x_egalde~l |   0.7756   0.7864   0.8115   0.8573   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    14643    14643    14643    14643    14643
             |
  v2clacjust |   0.9753   0.7655   0.7683   0.8963   0.7553   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16181    16181    14969    14643    16181
             |
  v2clsocgrp |   0.8248   0.6717   0.6672   0.7732   0.6873   0.7395   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
  v2clsnlpct |  -0.6086  -0.5932  -0.4785  -0.6039  -0.6105  -0.5562  -0.4848 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    15408    15408    14969    14643    14969    15408
             |
  v2dlencmps |   0.6769   0.7185   0.7019   0.7605   0.6655   0.6718   0.5858 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
   v2dlunivl |   0.6006   0.7026   0.6543   0.7053   0.5895   0.6154   0.5133 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
   v2peedueq |   0.7281   0.9480   0.7519   0.8745   0.7536   0.7167   0.6488 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
  v2pehealth |   0.7622   0.9692   0.7515   0.8962   0.7897   0.7530   0.6618 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
  v2pepwrses |   0.7104   0.7405   0.9182   0.8494   0.7085   0.7418   0.5757 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
  v2pepwrsoc |   0.6783   0.6814   0.8662   0.7982   0.7534   0.6685   0.6440 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |
  v2pepwrgen |   0.6150   0.6829   0.8560   0.7745   0.7395   0.6389   0.5922 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    14969    16620    16620    14969    14643    16181    16620
             |

             | v2clsn~t v2dlen~s v2dlun~l v2peed~q v2peh~th v2pepw~s v2pepw~c
-------------+---------------------------------------------------------------
  v2clsnlpct |   1.0000 
             |
             |    15408
             |
  v2dlencmps |  -0.5032   1.0000 
             |   0.0000
             |    15408    16620
             |
   v2dlunivl |  -0.3806   0.6882   1.0000 
             |   0.0000   0.0000
             |    15408    16620    16620
             |
   v2peedueq |  -0.5883   0.6382   0.6299   1.0000 
             |   0.0000   0.0000   0.0000
             |    15408    16620    16620    16620
             |
  v2pehealth |  -0.5750   0.6681   0.6420   0.8991   1.0000 
             |   0.0000   0.0000   0.0000   0.0000
             |    15408    16620    16620    16620    16620
             |
  v2pepwrses |  -0.4247   0.6823   0.6346   0.6996   0.7108   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000
             |    15408    16620    16620    16620    16620    16620
             |
  v2pepwrsoc |  -0.4946   0.6058   0.5285   0.6781   0.6483   0.7047   1.0000 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    15408    16620    16620    16620    16620    16620    16620
             |
  v2pepwrgen |  -0.3796   0.5946   0.5978   0.6625   0.6736   0.7038   0.6651 
             |   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000   0.0000
             |    15408    16620    16620    16620    16620    16620    16620
             |

             | v2pepw~n
-------------+---------
  v2pepwrgen |   1.0000 
             |
             |    16620
             |

. 
. ***Figures 8 and 9***
. collapse v2x_egaldem_small v2xeg_eqprotec v2xeg_eqdr v2xeg_eqacc v2x_egal_sma
> ll v2x_liberal, by(year)

. 
. *Figure 8
. graph twoway (line v2x_egaldem_small year if year< 2013, lwidth(medium) lcolo
> r(black)) || ///
> (line v2xeg_eqprotec year if year<2013, lcolor(black) lwidth(medium) lpattern
> (dash)) || ///
> (line v2xeg_eqdr year if year<2013, lcolor(black) lwidth(medium) lpattern(dot
> )) || ///
> (line v2xeg_eqacc year if year < 2013, lcolor(black) lwidth(medium) lpattern(
> dash_dot)), ///
> xlabel(1900(20)2000) graphregion(color(white)) legend(label(1 "Egal Democracy
> ") label(2 "Equal Protection") ///
> label (3 "Equal Distribution") label(4 Equal Access))

. graph save Graph "Figure8.gph", replace
(file Figure8.gph saved)

. *Some additional formatting in graph editor
. 
. *Figure 9
. graph twoway (line v2x_egal_small year if year> 1945 & year<2013, lwidth(thic
> k) lcolor(black)) || ///
> (line v2x_liberal year if year> 1945 & year<2013, lwidth(thick) lcolor(black)
>  lpattern(dash)), ///
> ylabel(0(.2).8) xlabel(1940(15)2015) graphregion(color(white)) legend(label(1
>  "Egalitarian Component") label(2 "Liberal Component"))

. graph save Graph "Figure9.gph", replace
(file Figure9.gph saved)

. *Some additional formatting in graph editor
. 
. 
. log close
      name:  <unnamed>
       log:  /Users/rlsigman/Dropbox/Upload/replication_main.smcl
  log type:  smcl
 closed on:   4 Sep 2017, 13:04:41
-------------------------------------------------------------------------------
